//
//  NYIPAFooterReusableView.m
//  NiuWaJiaoYu
//
//  Created by MinLison on 2018/2/4.
//  Copyright © 2018年 niuwaketang. All rights reserved.
//

#import "NYIPAFooterReusableView.h"

@interface NYIPAFooterReusableView ()

@property (nonatomic, strong) UILabel *contentLabel;
@end

@implementation NYIPAFooterReusableView

#pragma mark - Intial Methods
- (void)setupView {
    [super setupView];
    
    [self addSubview:self.contentLabel];
    [self.contentLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.left.equalTo(self).offset(10);
        make.right.equalTo(self).offset(-10);
        make.top.equalTo(self);
        make.bottom.equalTo(self).offset(-10);
    }];
    
}
#pragma mark - Setter Getter Methods

- (UILabel *)contentLabel {
    if (!_contentLabel) {
        _contentLabel = [[UILabel alloc] init];
        _contentLabel.font = UIFontMake(14);
        _contentLabel.textAlignment = NSTextAlignmentLeft;
        _contentLabel.textColor = UIColorMakeWithHex(@"#999999");
        _contentLabel.numberOfLines = 0;
        _contentLabel.text = @"\n温馨提示：\n\n1.牛币是牛娃课堂虚拟货币，可方便购买课程 \n\n2.iOS App平台账户余额及充值金币不能体现、不能退款，只能在iOS App平台使用\n\n3.充值后账户余额无变化请联系客服\n电话：021-60522290 (工作日9：30-18：00)";
    }
    return _contentLabel;
}

@end
